package ua.org.nuos.sdms.middle.util.exception;

/**
 * User: Denis Fahritdinov
 * Date: 10/7/12
 * Time: 5:00 PM
 */
public class EmailVerificationException extends Exception {

    private String code;

    public String getCode() {
        return code;
    }

    public EmailVerificationException(String code) {
        this.code = code;
    }

    public EmailVerificationException(String message, String code) {
        super(message);
        this.code = code;
    }

    public EmailVerificationException(String message, Throwable cause, String code) {
        super(message, cause);
        this.code = code;
    }

    public EmailVerificationException(Throwable cause, String code) {
        super(cause);
        this.code = code;
    }
}
